package com.iplant.aps.service.po.aps.gantt;

import java.io.Serializable;

/**
 * APS排程甘特图任务数据
 *
 * @author YouWang·Peng
 * 2023-8-14 21:52:22
 */
public class APSGanttData implements Serializable {
    /**
     * 任务ID
     */
    public int id = 0;
    /**
     * 任务名称
     */
    public String text = "";
    /**
     * 任务时间（格式：dd-MM-yyyy）
     */
    public String start_date = "";
    /**
     * 时间跨度
     */
    public String duration = "";
    /**
     * 进度
     */
    public int progress = 0;
    /**
     *
     */
    public boolean open = true;
    /**
     * 父节点
     */
    public String parent = "";


    /**
     * 订单id：辅助属性
     */
    public int orderid = 0;
    /**
     * 工艺Id：辅助属性
     */
    public int routepartid = 0;
    /**
     * 工艺工序Id：辅助属性
     */
    public int routepartpointid = 0;

    public int getRoutepartpointid() {
        return routepartpointid;
    }

    public void setRoutepartpointid(int routepartpointid) {
        this.routepartpointid = routepartpointid;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getRoutepartid() {
        return routepartid;
    }

    public void setRoutepartid(int routepartid) {
        this.routepartid = routepartid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }
}
